projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05eddc6
)
Add --disable-docs option to configure
author
Daniel Sabo
<DanielSabo@gmail.com>
Thu, 7 Feb 2013 19:24:12 +0000
(11:24 -0800)
committer
Daniel Sabo
<DanielSabo@gmail.com>
Fri, 29 Mar 2013 23:15:17 +0000
(16:15 -0700)
Makefile.am
patch
|
blob
|
history
configure.ac
patch
|
blob
|
history
diff --git
a/Makefile.am
b/Makefile.am
index 19df3268c425dc41321d238b2b2266de5b96ce15..700841450e1eb06b36ba4872e09e979a4cc93b4c 100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-4,8
+4,11
@@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = \
babl \
extensions \
- tests \
- docs
+ tests
+
+if ENABLE_DOCS
+SUBDIRS+= docs
+endif
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = babl.pc
diff --git
a/configure.ac
b/configure.ac
index b0697abc8d79897f900d81085944a21b1978ba1b..ce5a8723c1e371b20ba99d2b368fb31fce136907 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-172,6
+172,13
@@
AM_CONDITIONAL(HAVE_RSVG, test "x$RSVG" != "xno")
AC_PATH_PROG(W3M, w3m, no)
AM_CONDITIONAL(HAVE_W3M, test "x$W3M" != "xno")
+dnl disable docs generation.
+AC_ARG_ENABLE([docs],
+ [ --disable-docs disable docs generation (default=no)],,
+ enable_docs="yes")
+
+AM_CONDITIONAL(ENABLE_DOCS, test "x$enable_docs" = "xyes")
+
###########################
# Check target architecture
###########################